home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-13
/
amac44b.zip
/
FILE28.QM
< prev
next >
Wrap
Text File
|
1992-06-22
|
7KB
|
147 lines
* FILE28.QM, v2.8a
* Macros To Manage Files
* Written by Tom Hogshead
* 6/4/92
* Key Subfile Description
* ===== ============== ====================================================
* {e:\up\fil001} Macros To Delete, Save and Edit Files ( )
* {e:\up\fil002} Macros To Mark or Remove Duplicate Lines From Files
* {e:\up\fil003} Miscellaneous File Macros
*
* {e:\up\rfr001} Single/Double/Triple Space Files
* {e:\up\mis004} Compare Files
* {e:\up\MACR*} Make and Convert Macro Files
* {e:\up\QLST*} Load Files from Filelist
* {e:\up\RING*} Load Files in Ring
* {e:\up\PAGE*} Paginate Files
* {e:\up\BOOK*} Jump to Position In and Across Files
* {e:\up\JMPPOS*} Jump to Position In and Across Files
*
* @h Jump To Index Item In Current File
*
* Index, How To Jump To Index Item
* Description
* Startup
* Other Macros
* Required Program Files
* Version history
*
*--- eoi
* (Index) Use
* -------------
* To locate a macro or item in this file, press @h, place the cursor
* line on the desired item in the Index above, and press <enter>. See
* BOOKxx.QM for more details for using @f to jump to macros across
* files.
* (Description)
* ----------------
* FILE28.QM QEdit macros allow the user to select files from a list to:
* either load a file, read a macfile, delete a file, read a macfile of
* loaded txtfile, save a read-only file, or save files with the name
* either 09141025.EXT or file NAME.914. File sorting is done using DX
* Directory Extender, not included with these files. Included also are
* spell check macros with ShareSpell and cursor position and scroll
* macros and macros to remove duplicate lines from files.
* File sorting is done using DX Directory Extender, v2.11. If the newer
* version 2.60 is used and it is NOT registered, the DX heading will
* show in the file selection window of @1 to @5 and the initial cursor
* line will not be positioned on the first files in the selection list.
* The file selection can be still be made by moving the cursor line to
* the desired file and pressing <enter>. Alternatively, you can either
* register DX or change the macros. I suggest registration. DX is the
* most powerful DOS file and directory manager available.
* For (other) macros, see ALLMACRO.INF
* These macros require "QEdit and QMAC v2.1, February, 1990" or later.
* (Startup): See also FILE.DOC for requirements.
* ---------------------------------------------------
* To BEGIN, just type "START FILE" <Enter>. All pertinent files will be
* loaded in the "Ring" for viewing, and FILE28.MAC is read.
* Alternatively, type "START FILE 0" <Enter> and the disk copies of all
* files in the "Ring" will be loaded ready for editing, saving time.
* (REQUIRED) PROGRAM FILES
*
* You──MUST──have the exectable program files in AMAC-PRG.ZIP to run
* some of these macros. AMAC-PRG.ZIP can be found on the following BBS's:
*
* SemWare
* Exec-PC
*
* It can not be found on CompuServe since many of the programs are
* Copyrighted. All program files are ShareWare, and inclusion in
* AMAC-PRG.ZIP is not prohibited in their documentation.
*
* I thank the authors for these excellent programs.
*
*┌───────────────────────────────────────────────────────────────────┐
*│@(h) Finds first word on cursor line marked in document below │
*└───────────────────────────────────────────────────────────────────┘
* @h macro has 2 steps:
* 1. Press @ and h at the same time. An ! shows at the
* end of the top line. Cursor down to desired line in Index.
* 2. Press Enter. The macro first erases the !, and
* then finds the first word on the cursor line in the document
* below marked with (...).
*
* See BOOKxx.QM for more details.
@h Macrobegin
unmarkblock * Unmark any marked blocks
begfile endline * Go to file begin endline
"!" * Put ! at endline
begline
find "!" return return begline * Highlight !
pause * Pause for Index selection
wordright markword * Mark first word on line
copy * Copy word to scrap buffer
begfile * Begfile
find "!" return return delch * Find & delete !
endpara * Go to end of Index
makectrofscreen * Cursor line center of window
find "(" paste ")"
return "I" return * Find first marked word in doc
jfalse NOMARK
begline * If mark found go to begline
jump END
NOMARK:
begfile * If no mark found go to begfile
END:
*
* 47 bytes Fri 09-14-1990 14:06:26
* (Version) History
* ------------------
* 2.7 - Modified @5. 2/16/92
* - Moved ^2 and ^6 from mis006.qm. 2/16/92
* - In amac42.zip. 3/28/92
* 2.7a- Removed ^f6 and reference to DSIZxx.QM. 4/23/92
* - Changed @f3. 4/24/92
* - In amac42e.zip. 4/26/92
* 2.8 - Added ^e and ^x. 5/9/92
* - Added @9 and @0. 5/12/92
* - Changed ^f1/f2/f3 keys to ^f4/f5/f6. 5/12/92
* - Moved to mis001.qm: @w/z, ^w/z, ^e/x, @PgUp/PdDn ad ^f4/f5/f6.5/14/92
* - Moved all other macros to subfiles fil001-005.qm. 5/14/92
* - Added @7 in fil001.qm. 5/15/92
* - Removed from fil001.qm #f5 and #f6. 5/18/92
* - Changed keys in fil00x.qm files. 5/26/92
* - Added @9 and @0 in fil002.qm. 5/27/92
* - Added @f8 in fil002.qm. 5/27/92
* - Modified fil002.qm macros for non-dup's at eof. 5/27/92
* - In Amac43.zip. 5/27/92
* 2.8a- Removed @1/2/3/4/6 in fil002.qm. 5/28/92
* - Added ( ) to Index line 1 for bok001.qm macros. 5/30/92
* - Modified @7 in file001.qm. 6/4/92
*
*
*
*--eof